package cn.edu.nchu.fragmentdemo.entity;

import org.osmdroid.views.overlay.Overlay;

import java.io.Serializable;

/**
 * @author Wendy
 * @time 2019/12/29
 * @Email ${EMAIL}
 */
public abstract class MyBasicEntity implements Serializable {
    //手动生成的自定义唯一标识符
    private String id;
    //overlay:覆盖物
    private Overlay overlay;
    private String popMenuType;//弹出菜单的类型
    private String dbTag;//表示是marker/polygon/polyline

    protected MyBasicEntity() {
    }

    public abstract void setId(String id);

    public abstract String getId();

    public abstract Overlay getOverlay();

    public abstract void setOverlay(Overlay overlay);

    public String getDbTag() {
        return dbTag;
    }

    public abstract String getPopMenuType();

    public abstract void setPopMenuType(String popMenuType);

    public void setDbTag(String dbTag) {
        this.dbTag = dbTag;
    }
}
